package com.miyu.feign.controller;

import com.miyu.feign.feignInterFace.FeignFace;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class feignController {

    @Autowired
    FeignFace hi;

    @RequestMapping("/hi")
    public String hi() {
       // String str = "测试消费者接口";
       String str = hi.hi();
        return str;
    }
}
